package com.zzw.springcloud.service.Impl;

import com.zzw.springcloud.mapper.MemberMapper;
import com.zzw.springcloud.service.MemberService;

import com.zzw.springcloud.bean.Member;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

@Service
public class MemberServiceImpl implements MemberService {
    @Resource
    private MemberMapper memberMapper;

    @Override
    public Member selectById(Integer id) {
        return memberMapper.selectById(id);
    }

    @Override
    public int insert(Member member) {
        return memberMapper.insert(member);
    }
}

